package com.gxa.meiye.admin.platform.entity;

import java.util.Date;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

/**
 * 消费者表(TConsumer)表实体类
 *
 * @author makejava
 * @since 2022-07-25 16:29:51
 */
@SuppressWarnings("serial")
public class TConsumer extends Model<TConsumer> {
    //id
    private Integer id;
    
    private String phone;
    
    private String pwd;
    
    private Integer status;
    //最后一次登录
    private Date lastLogin;
    //连续登陆天数
    private Integer continuousLoginDate;
    //注册时间
    private Date registrationTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getLastLogin() {
        return lastLogin;
    }

    public void setLastLogin(Date lastLogin) {
        this.lastLogin = lastLogin;
    }

    public Integer getContinuousLoginDate() {
        return continuousLoginDate;
    }

    public void setContinuousLoginDate(Integer continuousLoginDate) {
        this.continuousLoginDate = continuousLoginDate;
    }

    public Date getRegistrationTime() {
        return registrationTime;
    }

    public void setRegistrationTime(Date registrationTime) {
        this.registrationTime = registrationTime;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
    }

